<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>管理入口</title>
<LINK href="admin/style/admin.css" type="text/css" rel="stylesheet">
<script type="text/javascript">
	function check() {
		if (document.all.userForm.username.value == "") {//判断用户名输入框是否为空
			alert("请输入管理名！");
			document.all.userForm.username.focus();//将光标定位到用户名输入框
			return false;
		}
		if (document.all.userForm.password.value == "") {//判断密码输入框是否为空
			alert("请输入密码！");
			document.all.userForm.password.focus();//将光标定位到密码输入框
			return false;
		}
		return true;
	}
</script>
<style type="text/css">
body,td,th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

body {
	margin-top: 0px;
	margin-bottom: 0px;
	
}
</style>
</head>

<body onLoad="document.f.j_username.focus();">
<form name="f" action="j_spring_security_check" method="post">
	<br/>
	<br/>
	<br/>
	<br/>
	<br/>
<TABLE height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
	<TR align="center" valign="middle">
		<TD align=center valign="middle">
		<TABLE cellSpacing=0 cellPadding=0 width=468 border=0>
			<TR>
				<TD><IMG height=23 src="admin/images/login_1.jpg" width=468></TD>
			</TR>
			<TR>
				<TD><IMG height=147 src="admin/images/login_2.jpg" width=468></TD>
			</TR>
		</TABLE>
		<TABLE cellSpacing=0 cellPadding=0 width=468  border=0>

			<TD width=16><IMG height=122 src="admin/images/login_3.jpg" width=16></TD>
			<TD align=middle>
			<TABLE cellSpacing=0 cellPadding=0 width=230 border=0>
				<TR height=5>
					<TD width=5></TD>
					<TD width=56></TD>
					<TD></TD>
				</TR>
				<TR height=36>
					<TD></TD>
					<TD>用户名</TD>
					<TD><input type="text" name="j_username" value="${SPRING_SECURITY_LAST_USERNAME}" /></TD>
				</TR>
				<TR height=36>
					<TD>&nbsp;</TD>
					<TD>密 码</TD>
					<TD><input type="password" name="j_password" /></TD>
				</TR>
				<TR>
					<TD colSpan="3" align="center"><font color="red">${sessionScope['SPRING_SECURITY_LAST_EXCEPTION'].message}</font></TD>
				</TR>
				</TR>
				<TD></TD>
				<TD>&nbsp;</TD>
				<TD>
					<input type="submit" value="登录 " />&nbsp;&nbsp;
					<input type="reset" value="重置" /></TD>
				</TR>
			</TABLE>
			</TD>
			<TD width=16><IMG height=122 src="admin/images/login_4.jpg" width=16></TD>
			</TR>
		</TABLE>
		<TABLE cellSpacing=0 cellPadding=0 width=468 border=0>
			<TR>
				<TD><IMG height=16 src="admin/images/login_5.jpg" width=468></TD>
			</TR>
		</TABLE>
		</TD>
	</TR>
</TABLE>
</form>
</body>
</html>